package com.gton;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @program: springcloud-nacos
 * @description: 用户管理启动类
 * @author: GuoTong
 * @create: 2020-11-20 16:20
 **/
@EnableDiscoveryClient //服务注册于发现客户端
@SpringBootApplication //服务启动扫描及入口
@EnableFeignClients //feign 客户端，服务远程调用
public class UserManagerApplication {
    public static void main(String[] args) {
        System.out.println("用户服务板块启动成功");
        SpringApplication.run(UserManagerApplication.class, args);
    }

}
